<?php
abstract class FP_Gateway extends FP_Model_Gateway_Doctrine_Adapter
{

    protected $_primary_key = 'id';

    protected $_model_collection_class = 'FP_Model_Collection';

    public function resolveRoute($pRouteName, array $pParams=array()){
	$route = Zend_Controller_Front::getInstance()->getRouter()->getRoute($pRouteName);
	return $route->assemble($pParams);
    }
}

 ?>